<?php
//sleep(3 );
require_once('../includes/db.php');
$result = fetchAll('countries',"`status`='1'");

while($ans = mysql_fetch_assoc($result)){
  $country[$ans['id']] = $ans['name'];
}
echo json_encode($country);
